WCML\TranslationControls\Hooks S

Total Complexity 31
Dependencies 8
Dependents 0
Total lines 310
Lines of code 138
Logical lines of code 49
Comment lines 118
Methods 22
Properties 4

Methods 22

Method Rating Maintainability Complexity Lines of code
translationControls()
A
43 7 56
hasStringsInDomain()
S
58 2 17
getInstructions()
S
71 2 6
add_hooks()
S
71 2 6
getTranslationControl()
S
61 1 13
getLanguageSelectorId()
S
100 1 0
getInputId()
S
100 1 0
getInputName()
S
79 1 3
getStringName()
S
100 1 0
replaceStringAndLanguage()
S
71 1 5
getStringLanguage()
S
66 1 9
registerStringsOnSave()
S
100 1 0
__construct()
S
71 1 6
getTranslationControls()
S
100 1 0
getInstructionsWithoutRegisteredStrings()
S
79 1 3
getInstructionsWithRegisteredStrings()
S
68 1 7
getInstructionsLink()
S
80 1 3
translationInstructions()
S
100 1 0
loadAssets()
S
75 1 4
addAdminPageHooks()
S
100 1 0
isAdminPage()
S
100 1 0
getLanguageSelectorName()
S
100 1 0